package com.ca.project.Server.Modules.UserWeb.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.UserWeb.PO
 * @NAME: WebUserLoginPO
 * @USER: ASUS
 * @DATE: 30/12/2024
 * @TIME: 下午9:34
 **/
@Data
@ApiModel(value = "用户登录")
public class WebUserLoginPO implements Serializable {

    private static final long serialVersionUID = 533195814649949712L;

    @ApiModelProperty(value = "学号", required = true)
    @NotBlank(message = "学号不能为空")
    private String stu_num;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
}
